package com.guang.test.service;

/**
 * @author liguang
 * @date 2022/8/24 11:21
 */
public class OrderService {

    private FoodService foodService;


    /**
     * 如果配置了，这里将会来自动来进行注入这里的值
     * @param foodService
     */
    public void setFoodService(FoodService foodService) {
        this.foodService = foodService;
    }


    public void test(){
        System.out.println(foodService);
    }
}
